import Vue from 'vue'
import App from './App.vue'
//引入路由
import router from '@/router';

//配置全局组件
import Header from '@/components/Header'
import Footer from '@/components/Footer'
//注册全局组件
Vue.component(Header.name,Header);
Vue.component(Footer.name,Footer);

Vue.config.productionTip = false

new Vue({
  render: h => h(App),
  router
}).$mount('#app')
